package cn.itcast.nems.base.service;

import cn.itcast.nems.base.dto.DiscountQueryDTO;
import cn.itcast.nems.base.dto.DiscountTotalDTO;
import cn.itcast.nems.discount.dto.DiscountSummaryDTO;

import java.util.List;

public interface DiscountsQueryService {
    /**
     * <p>
     * 查询个人优惠单信息
     * </p>
     *
     * @author zhouwei
     * @since 2023/12/13 5:40 PM
     **/
    List<DiscountSummaryDTO> queryCouponDiscount(List<String> couponIds) ;
    /**
     * 根据班级ID 父节点查询优惠项
     * @param discountQueryDTO  优惠项ID(普通优惠项、个人优惠项)
     * @return 优惠汇总， 包含：应缴基恩、优惠合计、关联优惠列表
     */
    DiscountTotalDTO findChildListAndCalculateDiscountAmount(DiscountQueryDTO discountQueryDTO);
}
